package com.cy.补充.inner.stat;

public class Person {

    static class Dog{//成员内部类
        public void eat(){
            System.out.println("狗喜欢吃东西");
        }
    }

    public void play(){
        Dog d = new Dog();
        d.eat();
    }
}
